<?php
//退出管理
// echo 1;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
  if ($_POST['action'] == 'adminout') {
    session_start();
    unset($_SESSION['hdb']);
    // echo 12;
    echo "<script>window.location.href='../../view/index.php';</script>";
  }
}

?>